package test.hystrix.serviceb.remote;

import feign.hystrix.FallbackFactory;
import org.springframework.stereotype.Component;

@Component
public class IdCardServiceFallbackFactory implements FallbackFactory<IdcardService> {
    public IdcardService create(Throwable throwable) {
        return new IdCardServiceFallback();
    }
}
